<?php

class ArticleContentController extends Base {
  use CURD;

  public $tableName = 'article_content';
  protected $deleted_at = true;
  protected $isTree = false;
  protected $likeField = 'title'; 
  protected $parentKey = 'pid';
  protected $relations = [
    'cates_id' => ['table'=>'cates','as'=>'cates','pri'=>'id','cols'=>['id','title'],'where'=>[],'type'=>'one'],
'areas_id' => ['table'=>'areas','as'=>'areas','pri'=>'id','cols'=>['id','title'],'where'=>[],'type'=>'one'],
'markets_id' => ['table'=>'markets','as'=>'markets','pri'=>'id','cols'=>['id','title'],'where'=>[],'type'=>'one'],
  ];
}
